let subjectList = [
  { id: 1, name: '语文' },
  { id: 2, name: '数学' },
  { id: 3, name: '英语' },
  { id: 4, name: '物理' },
  { id: 5, name: '化学' },
  { id: 6, name: '生物' },
  { id: 7, name: '政治' },
  { id: 8, name: '历史' },
  { id: 9, name: '地理' },
  { id: 10, name: '科学' },
  { id: 11, name: '综合' },
  { id: 14, name: '美术' },
  { id: 15, name: '音乐' },
  { id: 70, name: '日语' },
  { id: 79, name: '其他' },
];
const updateSubjectList = (list) => {
  subjectList = list;
}

export {
  subjectList,
  updateSubjectList,
}


export default {
  num2Chinese: {
    1: "一",
    2: "二",
    3: "三",
    4: "四",
    5: "五",
    6: "六",
    7: "七",
    8: "八",
    9: "九",
  },
  platfromList: [
    { id: 0, name: "全部" },
    { id: 1, name: "阅卷系统" },
    { id: 2, name: "作业系统" },
  ],
  useTypeList: [
    { id: 0, name: "全部" },
    { id: 1, name: "正式" },
    { id: 2, name: "试用" },
    { id: 3, name: "测试" },
    { id: 4, name: "演示" },
  ],
  // 账号类型
  accountType: {
    SUPER_ADMIN: '7',  // 超级管理员
    NORMAL_ADMIN: '8',  // 普通管理员
    PRE_ADMIN: '2',    // 预设管理员
  },
  typeList: [
    { id: 1, name: "小学" },
    { id: 2, name: "初中" },
    { id: 4, name: "高中" },
  ],
  gradeList: [
    { id: 1, name: '一年级' },
    { id: 2, name: '二年级' },
    { id: 3, name: '三年级' },
    { id: 4, name: '四年级' },
    { id: 5, name: '五年级' },
    { id: 6, name: '六年级' },
    { id: 7, name: '七年级' },
    { id: 8, name: '八年级' },
    { id: 9, name: '九年级' },
    { id: 10, name: '高一' },
    { id: 11, name: '高二' },
    { id: 12, name: '高三' },
    { id: 101, name: '小学毕业班' },
    { id: 102, name: '初中毕业班' },
    { id: 103, name: '高中毕业班' },
  ],
  genderList: [
    { id: 1, name: '男' },
    { id: 2, name: '女' },
  ],

  // 导入数据的类型
  importType: {
    SCHOOL: 1,
    STUDENT: 2,
    TEACHER: 3,
    USER: 4,
    UPDATE_STUDENT: 5,
    UPDATE_TEACHER: 6,
  },
  previewTabs: [
    // { id: 1, name: "新增老师" },
    // { id: 2, name: "更新老师" },
    { id: 3, name: "新增角色" },
    { id: 4, name: "更新角色" },
    { id: 0, name: "任课信息" },
    { id: 9, name: "年级科目负责人" },
    { id: 5, name: "新增学生" },
    { id: 6, name: "更新学生" },
    { id: 7, name: "新增班级" },
    // { id: 8, name: "更新班级" },
  ],

  // 编辑、添加学生用
  examSubject: {
    normal: [
      { id: 1, name: "语文" },
      { id: 2, name: "数学" },
    ],
    // 语言3选1
    language: [
      { id: 3, name: '英语' },
      { id: 70, name: '日语' },
      { id: 79, name: '其他' },
    ],
    // 类型2选1
    courseType: [
      { id: 4, name: '物理' },
      { id: 8, name: '历史' },
    ],
    courses: [
      { id: 5, name: '化学' },
      { id: 6, name: '生物' },
      { id: 7, name: '政治' },
      { id: 9, name: '地理' },
      { id: 10, name: '科学' },
    ]
  },

  type: {
    EDIT: 1,
    ADD: 2,
  },
}
